<template>
  <div class="About">
    <div class="content">
      <div class="content-top">
        <p>{{ about.title }}</p>
        <i>─────</i>
        <div class="text">
          {{ about.content }}
        </div>
        <div>
          <img :src="about.img" alt="" />
        </div>
      </div>
      <div class="our-bottom">
        <p class="title">{{ server.title }}</p>
        <i>─────</i>
        <div class="serve-background-left1">
          <img src="../assets/image/kg1111.png" alt="" />
          <img src="../assets/image/椭圆 1.png" alt="" class="round1" />
          <p>
            <span>专业</span><br />
            人均300场的主持经验，由量的积累到质的飞跃，我们用专业为您的婚礼保驾护航！
          </p>
        </div>
        <div class="serve-background-right1">
          <img src="../assets/image/bk_2222.png" alt="" />
          <img src="../assets/image/椭圆 1 拷贝.png" alt="" class="round1" />
          <p>
            <span>定制</span><br />
            每一对新人都有自己独一无二的爱情故事，同样我们认为，每一场婚礼应该有其专属的流程，更应该有一套专属每对新人的婚礼主持词！
          </p>
        </div>
        <div class="serve-background-left2">
          <img src="../assets/image/kg1111.png" alt="" />
          <img src="../assets/image/椭圆 1 拷贝 2.png" alt="" class="round1" />
          <p>
            <span>匠心</span><br />
            我们绝不满足于曾经的主持成果与经验，我们坚信婚礼还原爱情本真的同时更应该有诸多的形式来展现，我们坚持用一颗匠心为每一对新人主持，呈现铭记一生的浪漫回忆！
          </p>
        </div>
        <div class="serve-background-right2">
          <img src="../assets/image/bk_2222.png" alt="" />
          <img src="../assets/image/椭圆 1 拷贝 3.png" alt="" class="round1" />
          <p>
            <span>创新</span><br />
            主持人不再是那种高高在上的形象，更应该走进新人的内心，挖掘、收集他们的爱情点滴，以朋友的身份和形式讲述专属于他们的爱情故事，以不同形式和环节创意为新人造梦，化腐朽为神奇是我们坚持的初心！
          </p>
        </div>
      </div>
    </div>
    <ApplyFor />
  </div>
</template>

<script>
import ApplyFor from "../components/ApplyFor/ApplyFor";
import api from "../api";

export default {
  name: "About",
  components: {
    ApplyFor,
  },
  data() {
    return {
      about: {},
      server: {},
    };
  },
  methods: {},
  mounted() {
    api.about().then((res) => {
      console.log(res.data);
      this.about = res.data.about;
      this.server = res.data.applyFor;
      console.log(this.about);
    });
  },
};
</script>

<style scoped lang="less">
.content {
  width: 1000px;
  margin: 0 auto;
  text-align: center;
  p {
    font-size: 36px;
    margin-top: 65px;
    margin-bottom: 0;
  }
  i {
    color: #dddddd;
    font-weight: 600;
  }
  .content-top {
    margin-bottom: 50px;
    .text {
      font-size: 16px;
      text-indent: 32px;
      text-align: left;
      line-height: 36px;
    }
    img {
      width: 950px;
      margin-top: 40px;
      border: none;
      vertical-align: middle;
    }
  }
  .our-bottom {
    background-image: url("../assets/image/bg.png");
    width: 1000px;
    height: 745px;
    overflow: hidden;
    margin: 0 auto;
    .title {
      color: #fff;
    }
    i {
      color: #fff;
    }
    span {
      font-size: 20px;
      font-weight: 600;
    }
    .serve-background-left1 {
      position: relative;
      img {
        float: left;
        margin-top: 50px;
      }
      .round1 {
        position: absolute;
        left: 6px;
        top: 48px;
      }
      p {
        width: 300px;
        text-align: left;
        line-height: 30px;
        position: absolute;
        left: 170px;
        top: 6px;
        font-size: 14px;
      }
    }
    .serve-background-right1 {
      position: relative;
      img {
        float: right;
        margin-top: 50px;
      }
      .round1 {
        position: absolute;
        right: 6px;
        top: 48px;
      }
      p {
        width: 300px;
        text-align: left;
        line-height: 30px;
        position: absolute;
        right: 160px;
        top: 6px;
        font-size: 14px;
      }
    }
    .serve-background-left2 {
      position: relative;
      img {
        float: left;
        margin-top: 50px;
      }
      .round1 {
        position: absolute;
        left: 6px;
        top: 332px;
      }
      p {
        width: 300px;
        text-align: left;
        line-height: 30px;
        position: absolute;
        left: 165px;
        top: 288px;
        font-size: 14px;
      }
    }
    .serve-background-right2 {
      position: relative;
      img {
        float: right;
        margin-top: 50px;
      }
      .round1 {
        position: absolute;
        right: 6px;
        top: 332px;
      }
      p {
        width: 300px;
        text-align: left;
        line-height: 30px;
        position: absolute;
        right: 160px;
        top: 288px;
        font-size: 14px;
      }
    }
  }
}
</style>
